import java.rmi.Remote;
import java.rmi.RemoteException;
import java.util.ArrayList;

public interface InterfaceParticipante extends Remote{
	public boolean iniciarTransacao(String codTransacao, String tipoDeTransacao) throws RemoteException;
	public boolean desejaEfetivar(String codTransacao) throws RemoteException;
	public void efetivar(String codTransacao) throws RemoteException;
	public void abortar(String codTransacao) throws RemoteException;
	public ArrayList<String> getDados() throws RemoteException;
}
 
